home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / Direct3D / Tutorials / Tut05_Textures / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  1.1 KB  |  29 lines

  1. //-----------------------------------------------------------------------------
  2. // Name: Textures Direct3D Tutorial
  3. // 
  4. // Copyright (c) 2000-2001 Microsoft Corporation. All rights reserved.
  5. //-----------------------------------------------------------------------------
  6.  
  7.  
  8. Description
  9. ===========
  10.    The Textures tutorial shows how to use texture mapping in Direct3D.
  11.  
  12.    
  13. Path
  14. ====
  15.    Source:     DXSDK\Samples\Multimedia\D3D\Tutorials\Tut05_Textures
  16.  
  17.  
  18. Programming Notes
  19. =================
  20.    Texture-mapping is like shrink-wrapping a wall paper to a 3D object. A classic
  21.    example is applying an image of wood to an otherwise plain cube, to give the
  22.    appearance as if the block is actually made of wood. Textures (in their 
  23.    simplest form) are 2D images, usually loaded from an image file. This tutorial
  24.    shows how to use D3DX to create a texture from a file-based image and apply it
  25.    to a geometry. Textures require the vertices to have texture coordinates, and
  26.    make use of certain RenderStates and TextureStageStates and show in the source
  27.    code.
  28.  
  29.